package com.gzx.plugin.tjzy.modular.supplier.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.gzx.plugin.tjzy.modular.supplier.entity.GzxSupplier;
import com.gzx.plugin.tjzy.modular.supplier.mapper.GzxSupplierMapper;
import com.gzx.plugin.tjzy.modular.supplier.service.GzxSupplierListService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zjt
 * @description
 * @date 2025/3/21 11:04
 */
@Service
@RequiredArgsConstructor
public class GzxSupplierListServiceImpl implements GzxSupplierListService {

    private final GzxSupplierMapper supplierMapper;

    @Override
    @DS("sms")
    public List<GzxSupplier> listAll() {
        return supplierMapper.selectList();
    }
}
